package com.nbcb.fund.service;

import com.nbcb.fund.entity.param.RegisterParam;
import com.nbcb.fund.entity.po.FundUserPo;

/**
 * @author 九分石人
 */
public interface FundUserService {

    /**
     * 保存用户
     *
     * @param registerParam
     * @return
     */
    Integer save(RegisterParam registerParam);

    /**
     * 根据用户名获取用户
     *
     * @param userName
     * @return
     */
    FundUserPo getByUserName(String userName);

    /**
     *
     * @param userId
     * @return
     */
    FundUserPo getByUserId(String userId);
}
